package Spil;

import desktop_resources.GUI;

public class FieldRefuge extends GameFields {

	private int bonus;

	public FieldRefuge (int bonus, String Name, int id) {
		super.setName(Name);
		super.setId(id);
		super.setType("Refuge");
		this.bonus = bonus;
	}

	@Override
	public void landOnField(Player player) {
		player.addBalance(this.bonus);
		GUI.displayChanceCard(Txt.Refugemessage + this.bonus);
	}

	public int getBonus(){
		return this.bonus;
	}
	
	@Override
	public void removeOwner(Player player, int fieldNumber) {
		//Der sker intet
	}

}
